#include <iostream>
using namespace std;
template <typename T>
T max_value(T a,T b)
{
    return a>b?a:b;
}
int main() {
    cout<<max_value<int>(3,5)<<"\n";
    cout<<max_value<char>('a','b')<<"\n";
    return 0;
}